package ctd.util.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author chase
 * @Title: hcn-protocol
 * @Package ctd.util.annotation
 * @Description: 字典对照注解
 * @date 2016/7/22 8:59
 */

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
public @interface DicMapping {
    String dic() default "";
    MappingType type() default MappingType.BASE;
    String innerField() default "";
}
